Screen height and Screen width return the height and width of the screen in pixels. These commands can be used to determine the type of Macintosh screen in use.
If there are multiple display devices attached to the Macintosh, these commands return the size of the screen where the menu bar is displayed (that is, the main screen).
The following table lists the standard Macintosh screen sizes in pixels: